package com.thesis.object;

/**
 * Dish class
 * 
 * save detail of dish
 * 
 * @author NgocTuyen
 *
 */
public class Dish {
	//variable of detail of dish
	private int id;
	private String name;
	private String keySearch;
	private int typeId;
	private String type;
	private String material;
	private String cooking;
	private String speciality;
	private String unit;
	private int cost;
	private String image;
	
	/**
	 * Constructor function
	 * 
	 * Constructor
	 * 
	 * @access public
	 * 
	 * @param id: id of dish
	 * @param name: name of dish
	 * @param typeId: id of dish type
	 * @param type: type of dish
	 * @param material: material to cook dish
	 * @param cooking: cooking to cook dish
	 * @param speciality: speciality of dish
	 * @param unit: unit to pay for dish
	 * @param cost: cost of one unit
	 * @param image: image of dish
	 * 
	 * @return void
	 */
	public Dish(int id, String name, String keySearch, int typeId, String type, String material, String cooking, String speciality, String unit, int cost, String image){
		this.id = id;
		this.name = name;
		this.keySearch = keySearch;
		this.typeId = typeId;
		this.type = type;
		this.material = material;
		this.cooking = cooking;
		this.speciality = speciality;
		this.unit = unit;
		this.cost = cost;
		this.image = image;
	}
	
	/**
	 * getId function
	 * 
	 * get id of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + id of dish
	 */
	public int getId(){
		return id;
	}
	
	/**
	 * getName function
	 * 
	 * get name of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + name of dish
	 */
	public String getName(){
		return name;
	}
	
	/**
	 * getTypeId function
	 * 
	 * get id of dish type
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + id of type dish type
	 */
	public int getTypeId(){
		return typeId;
	}
	
	/**
	 * getType function
	 * 
	 * get type of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + type of dish
	 */
	public String getType(){
		return type;
	}
	
	/**
	 * getMaterial function
	 * 
	 * get material to cook dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + material of dish
	 */
	public String getMaterial(){
		return material;
	}
	
	/**
	 * getCooking function
	 * 
	 * get cooking of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + cooking of dish
	 */
	public String getCooking(){
		return cooking;
	}
	
	/**
	 * getSpeciality function
	 * 
	 * get speciality of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + speciality of dish
	 */
	public String getSpeciality(){
		return speciality;
	}
	
	/**
	 * getUnit function
	 * 
	 * get unit to pay dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + unit to pay dish
	 */
	public String getUnit(){
		return unit;
	}
	
	/**
	 * getCost function
	 * 
	 * get cost of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + cost of dish
	 */
	public int getCost(){
		return cost;
	}
	
	/**
	 * getImage function
	 * 
	 * get image url of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + image url of dish
	 */
	public String getImage(){
		return image;
	}

	/**
	 * getKeySearch function
	 * 
	 * get keySearch of dish
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + keySearch of dish
	 */
	public String getKeySearch() {
		return keySearch;
	}
}
